﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;

namespace DataModels.Models
{
    public class ExcelTemplateCellAssociation
    {
        [Key]
        [Column(Order = 0)]
        public int CellId_1 { get; set; }

        [Key]
        [Column(Order = 1)]
        public int CellId_2 { get; set; }
        public bool IsNumeric { get; set; }

        // Navigation Properties
        [ForeignKey("CellId_1")]
        public ExcelTemplateCell Cell1 { get; set; }

        [ForeignKey("CellId_2")]
        public ExcelTemplateCell Cell2 { get; set; }
    }
}
